/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Game;

import Internationalization.LoadInternationalization;
import JDBC.JavaDataBase;
import java.util.Scanner;

/**
 *
 * @author masterinftel11
 */
public class BlackOne {
    
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        int nPlayers;
//        System.out.println(LoadInternationalization.getRB().getString("hit"));
        System.out.println(LoadInternationalization.getRB().getString("chooseGame"));
        System.out.println("1.-Blackjack");
        System.out.println("2.-UNO");
        System.out.println("3.-Best Players BlackJack");
        System.out.println("4.-Best Players UNO");
        Scanner sc = new Scanner(System.in);
        JavaDataBase jdb = new JavaDataBase();
        switch(sc.nextInt()){
            case 1:
                BJGame bj = new BJGame("/Resources1/frenchDeck.txt");
                bj.startGame();
                break;
            case 2:
                UnoGame ug = new UnoGame();
                ug.startGame();
                break;
            case 3:
                jdb.getbestplayers("BLACKJACK",1);
                break; 
            case 4:
                jdb.getbestplayers("UNO",1);
                break;
            default:
                System.out.println(LoadInternationalization.getRB().getString("wrongOption1"));
                break;
        }
    }
}
